package com.centon.auto_code.system.service;

import java.util.List;

import com.centon.auto_code.domain.SysAuthority;
import com.centon.auto_code.domain.SysRole;
import com.centon.auto_code.system.vo.SysAuthorityVo;
import com.centon.auto_code.system.vo.SysRoleVo;
import com.centon.auto_code.vo.BaseRes;
import com.centon.auto_code.vo.PageData;

public interface SysRoleService {

	BaseRes<PageData<SysRoleVo>> entityPage(SysRoleVo sysUserVo);

	BaseRes<SysRoleVo> entityInfo(String id);

	BaseRes<String> deleteEntity(String id);

	BaseRes<String> addEntityInfo(SysRoleVo sysUserVo);

	BaseRes<String> modifyEntityInfo(SysRoleVo sysUserVo);

    BaseRes<List<SysAuthorityVo>> queryAllAuthoritys();
}
